@extends('index')

@section('content')
<h3>数据库备份</h3>
    <button onclick="location.href='/dbbackup.sql'" class="btn btn-primary">备份sql文件</button>
@stop

@section("script")
<script type="text/javascript">
	$(function(){
  $("#weihu").addClass("active");
  $('#JTable').jtable({
    title: '剩余库存',
    actions: {
        listAction: '/getstore',
        // createAction: '/addcompany',
        // updateAction: '/editecompany',
        // deleteAction: '/deletecompany'
    },
    fields: {
        id: {
            key: true,
            list: false
        },
        厂商名: {
            title: '厂商名',
        },
        型号: {
            title: '型号',
        },
        车型: {
            title: '车型',

        },
        数量: {
            title: '数量',
        },
    }
  });
  $('#JTable').jtable('load');

});
</script>
@stop